import { getCurrentInstance } from 'vue';

export default function useAppInstance() {
	const internalInstance: any = getCurrentInstance();
	return {
		internalInstance,
		globalFunc: internalInstance.appContext.config.globalProperties,
	};
}
